<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="content-type" content="text/html;charset=utf-8" />        
        <meta name="keywords" content="CI Ready to go" />
        <meta name="description" content="CI Ready to go" />
        <meta name="Language" content="en" />
        <meta name="Robots" content="index,follow" />
        <meta name="Author" content="#" />
        <meta name="revisit-after" content="2 days" />
        <meta name="Distribution" content="global" />
        <title>Online Booking | <?=$title?></title>  
        <link rel="icon" href="<?=base_url()?>assets/img/pngico.png" type="image/x-icon" />

        <!-- VARS to JS -->
        <script type="text/javascript">
            var base_url = '<?=base_url()?>';
            var site_url = '<?=site_url()?>';
            var page = '<?=$page?>';
            var sub = '<?=$sub?>';
            var upsub = '<?=$upsub?>';
            var path = base_url+'assets/';
        </script> 

        <!--DISPLAY Assets CSS & JS --> 
        <?  
            //$this->montenegrin->display();
        ?>



        <!--DISPLAY Assets CSS & JS --> 
        <link type="text/css" rel="stylesheet" href="<?=$url;?>assets/css/reset.css">
        <link type="text/css" rel="stylesheet" href="<?=$url;?>assets/css/form.css">
        <link type="text/css" rel="stylesheet" href="<?=$url;?>assets/css/style.css">
        <link type="text/css" rel="stylesheet" href="<?=$url;?>assets/css/jquery-ui-1.8.5.custom.css">
        <link type="text/css" rel="stylesheet" href="<?=$url;?>assets/css/popup.css">
        <link type="text/css" rel="stylesheet" href="<?=$url;?>assets/css/dd.css">
        <link type="text/css" rel="stylesheet" href="<?=$url;?>assets/css/jquery.lightbox-0.5.css">

        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> 
        <!--<script type="text/javascript" src="<?=$url?>assets/js/jquery-1.7.1.min.js"></script> -->
        <script type="text/javascript" src="<?=$url?>assets/js/jquery-ui-1.8.5.custom.min.js"></script> 
        <script type="text/javascript" src="<?=$url?>assets/js/jquery.busy.min.js"></script> 
        <script type="text/javascript" src="<?=$url?>assets/js/popup.js"></script> 
        <script type="text/javascript" src="<?=$url?>assets/js/optional_accesories.js"></script>   
        <script type="text/javascript" src="<?=$url?>assets/js/jquery.validate.js"></script>   
        <script type="text/javascript" src="<?=$url?>assets/js/jquery.dd.js"></script>   
        <script type="text/javascript" src="<?=$url?>assets/js/jquery.lightbox-0.5.min.js"></script>   
          
        <!--Start of Zopim Live Chat Script-->
        <script type="text/javascript">
            window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
                d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
                    _.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute('charset','utf-8');
                $.src='//cdn.zopim.com/?53YbkyGBCTWHRW6sL4I2VG385tAfPu13';z.t=+new Date;$.
                type='text/javascript';e.parentNode.insertBefore($,e)})(document,'script');
        </script>
        <!--End of Zopim Live Chat Script-->

        <style>
            .ui-datepicker {
                font-size: 95% !important;
                padding: 0.2em 0.2em 0;
                width: 17em;
            }
            .code li{
                float: left;
                padding: 0 13px 0 0;
            }
            td{
                font-size: 12px;
            }
        </style>

    </head>

    <body id="<?=$layout_id?>">

        <div id="wrap">

            <div id="cont" class="clearfix">
                <div class="inner">
                <!--<div><? $this->load->view('site/code/code_nav'); ?></div>-->
                <?=$contlayout ?>
                
                </div>
            </div>

            <? $this->load->view('popup/popup'); ?>

        </div>


        <!-- LOADER Images  
        <div class="hidden">
        <img src="<?=$path;?>img/busy.gif" alt="hidden" />    

        </div>-->

        <!-- MODAL EDITOR -->
        <div id="modaleditor"> </div>

        <script>

            $zopim(function() {
                $zopim.livechat.window.setColor('#0000ff')
                $zopim.livechat.bubble.setTitle('Can I help you?');
                $zopim.livechat.bubble.setText('Click to chat online!');
                $zopim.livechat.setGreetings({
                    'online':  ['How can we help You?',  'How can we help You?'],
                    'offline': ['We will be back soon', 'We will be back soon'],
                    'away':    ['We will be back soon',    'We will be back soon']
                });      
                //$zopim.livechat.bubble.hide();          

            });

        </script>

        <script type="text/javascript">

            $.ajax({
                url: base_url+'rentacar/printSession',
                dataType: 'json',
                type: "POST",
                success: function (data, textStatus, xhr) {
                    //location.href = base_url+'core/show_order';
                    console.log('session:'+data)
                },
                error: function (xhr, textStatus, errorThrown) {
                    //alert('code for showing errors here...');
                }
            });

        </script>

    </body>

</html>
